import React from 'react'
import { Button } from 'antd';
import { useNavigate } from 'react-router-dom';
import { Toast, NavBar } from 'react-vant';

function Index() {
  const nav = useNavigate()

  return (
    <div>
      <Button onClick={() => nav('/order')}>去我的订单</Button>
    </div>
  )
}

export default Index
